//
//  UAConnectionFactory.m
//  Unidbaccess
//
//  Created by Toplica Tanasković on 12/13/08.
//  Copyright 2008 HOME. All rights reserved.
//

#import "UAConnectionFactory.h"
#import "UAOracleConnection.h"

@implementation UAConnectionFactory

+ (UAConnection *) createConnectionWithProperties: (NSDictionary *) aProperties ofDatabaseType: (UADatabaseType) aDatabaseType {
	UAConnection * connection = nil;
	if (aDatabaseType == UAOracle) {
		connection = [[UAOracleConnection alloc] initWithProperties: aProperties];
	}
	
	return connection;
}

@end
